﻿@page
@model LoginModel
@{
    ViewData["Title"] = "登录";
    ViewData["Description"] = $"登录这个网站";
    ViewData["Image"] = "";
}

@section head {
    <link rel="stylesheet" href="/css/login.scss" />
}
@if (!string.IsNullOrWhiteSpace(Model.Message)) { 
    <h3 class="text-center text-error">@Model.Message</h3>
}
<form method="post" id="login" role="form" aria-labelledby="legend">
    <fieldset>
        <legend id="legend">登录</legend>

        <input type="text" name="username" id="username" aria-label="Username" autofocus required placeholder="用户名" />
        <input type="password" name="password" id="password" aria-label="Password" required placeholder="密码" />

        <input type="checkbox" name="remember" id="remember" />
        <label for="remember">记住登录</label>

        <input type="submit" value="登录" />
    </fieldset>
</form>